import $http from '@/mapper/http.js';
const base= '/sns/message';
let apiConfig = {
	index: base + '/index',
	reply: base + '/reply'
}
export default {
	getIndex(work_id,page){
		
			return $http.post(apiConfig.index,{
				work_id,
				page
			})
		
		
	},
	// submitData: {
	// 	content: '',
	// 	top_id: '',
	// 	parent_id: ''
	// },
	reply(opts){
		return $http.post(apiConfig.reply,opts)
	}
}